<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-type" class="control-label col-xs-12 col-sm-2">设置类型:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
                {foreach name="typeList" item="vo"}
                <label for="row[type]-{$key}"><input id="row[type]-{$key}" name="row[type]" type="radio" value="{$key}" {in name="key" value="$row['type']"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>
        
        </div>
    </div>
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-days" class="control-label col-xs-12 col-sm-2">{:__('Days')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-days" class="form-control" name="row[days]" type="number" value="{$row.days}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-hour" class="control-label col-xs-12 col-sm-2">{:__('Hour')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hour" class="form-control" name="row[hour]" type="number" value="{$row.hour}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-minute" class="control-label col-xs-12 col-sm-2">{:__('Minute')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-minute" class="form-control" name="row[minute]" type="number" value="{$row.minute}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-second" class="control-label col-xs-12 col-sm-2">{:__('Second')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-second" class="form-control" name="row[second]" type="number" value="{$row.second}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
